package cn.iocoder.yudao.module.erp.controller.admin.bom.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.iocoder.yudao.module.erp.dal.dataobject.bom.ErpBomItemsDO;

@Schema(description = "管理后台 - bom新增/修改 Request VO")
@Data
public class ErpBomSaveReqVO {

    @Schema(description = "内码", example = "14510")
    private Long fid;

    @Schema(description = "创建者", example = "25764")
    private String fcreatorid;

    @Schema(description = "创建时间")
    private LocalDateTime fcreatetime;

    @Schema(description = "最近修改人", example = "15712")
    private String flastupdateuserid;

    @Schema(description = "最近修改时间")
    private LocalDateTime flastupdatetime;

    @Schema(description = "控制单元", example = "28794")
    private String fcontrolunitid;

    @Schema(description = "编码")
    private String fnumber;

    @Schema(description = "业务日期")
    private LocalDateTime fbizdate;

    @Schema(description = "经手人", example = "3556")
    private String fhandlerid;

    @Schema(description = "描述", example = "你说的对")
    private String fdescription;

    @Schema(description = "审核人", example = "13045")
    private String fauditorid;

    @Schema(description = "原始单据id", example = "32715")
    private String fsourcebillid;

    @Schema(description = "来源功能")
    private String fsourcefunction;

    @Schema(description = "审核时间")
    private LocalDateTime faudittime;

    @Schema(description = "单据状态", example = "1")
    private Long fbasestatus;

    @Schema(description = "业务类型", example = "1149")
    private String fbiztypeid;

    @Schema(description = "来源单据类型", example = "22676")
    private String fsourcebilltypeid;

    @Schema(description = "单据类型", example = "7490")
    private String fbilltypeid;

    @Schema(description = "业务年度")
    private Long fyear;

    @Schema(description = "业务期间")
    private Long fperiod;

    @Schema(description = "修改人", example = "2264")
    private String fmodifierid;

    @Schema(description = "修改时间")
    private LocalDateTime fmodificationtime;

    @Schema(description = "计量单位", example = "27157")
    private Long funitid;

    @Schema(description = "基本计量单位", example = "7153")
    private String fbaseunitid;

    @Schema(description = "bom名称", example = "张三")
    private String fname;

    @Schema(description = "bom类型", example = "1")
    private Long fbomtype;

    @Schema(description = "生产数量")
    private BigDecimal fproductqty;

    @Schema(description = "生产基本数量")
    private BigDecimal fproductbaseqty;

    @Schema(description = "bom用途", example = "2")
    private Long fusagetype;

    @Schema(description = "物料", example = "31761")
    private Long fmaterialid;

    @Schema(description = "父物料规格型号")
    private String fmodel;

    @Schema(description = "父物料成品率")
    private BigDecimal fyield;

    @Schema(description = "物料计划资料", example = "13802")
    private String fmaterialplanid;

    @Schema(description = "bom组", example = "24031")
    private Long fbomgroupid;

    @Schema(description = "工程图号")
    private String fpicturenumber;


}